Computer system and boot control method

ABSTRACT

When a primary computer is taken over to a secondary computer in a redundancy configuration computer system where booting is performed via a storage area network (SAN), a management server delivers an information collecting/setting program to the secondary computer before the user&#39;s operating system of the secondary computer is started. This program assigns a unique ID (World Wide Name), assigned to the fiber channel port of the secondary computer to allow a software image to be taken over from the primary computer to the secondary computer.

INCORPORATION BY REFERENCE

This application is a continuation of U.S. patent application Ser. No. 13/086,726, filed Apr. 14, 2011, which is a continuation of U.S. patent application Ser. No. 12/640,678, filed Dec. 17, 2009, now U.S. Pat. No. 7,949,892, which is a continuation of U.S. patent application Ser. No. 11/522,920, filed Sep. 9, 2006, now U.S. Pat. No. 7,657,778, which claims priority from Japanese application JP2005-281084 filed on Sep. 28, 2005, the content of which is hereby incorporated by reference into this application.

BACKGROUND OF THE INVENTION

The present invention relates to a boot control method for use in a computer system redundantly configured in a SAN environment.

Recently, more and more computer systems are booted via a fibre-channel-connected storage area network (SAN). In a conventional redundancy configuration computer system where booting is performed from a built-in hard disk of each computer, the operating system and application programs must be installed in both the primary computer and the secondary computer in a similarly configured form. On the other hand, when booting is performed in a SAN environment, the primary computer and the secondary computer can share the same RAID device via the SAN, allowing the primary computer and the secondary computer to share the software image in which the operating system is installed.

However, in a computer system where booting is performed in the SAN environment, the RAID device has the security function that enables only a computer to access the corresponding logical unit to protect data in the logical unit in the RAID device where the operating system is installed. Usually, this security function uses a unique ID (World Wide Name), assigned to the fibre channel port installed in each computer, to associate the logical unit where the operating system is installed with the unique ID (World Wide Name) assigned to the fibre channel port of the computer to allow only access from the fibre channel port with the ID (World Wide Name). In some cases, the ID unique to the device (World Wide Name) is recorded in the software including the operating system.

A prior art technology for the security function of a RAID device is disclosed in JP-A-2002-149599. A prior art technology for altering and taking over a World Wide Name in the fibre channel interface is disclosed in JP-A-2002-126310.

SUMMARY OF THE INVENTION

In the redundancy configuration of a computer system where booting is performed via the storage area network (SAN), the unique ID (World Wide Name) assigned to the fibre channel port of the primary computer differs from the unique ID assigned to the fibre channel port of the secondary computer. Therefore, when the primary computer is taken over to the secondary computer, the software image including the operating system cannot be directly taken over but the security function setting of the RAID device side must be changed via the SAN management software or the manual operation.

To solve the above problem, the present invention uses a management server or a service processor having the software delivery function. Before an operating system used by the user is started, the management server delivers an information collection/setting program to the computers to read and record unique IDs (World Wide Names) assigned to the fibre channel ports of primary computers. When a primary computer is taken over to a secondary computer, a unique ID (World Wide Name), assigned to the fibre channel port of the primary computer and recorded by the information collection/setting program, is set on the fibre channel port of the secondary computer before the operating system of the secondary computer is started. This allows a software image, including the operating system of the primary computer, to be used without change.

The present invention enables a primary computer and a secondary computer in a redundancy configuration computer system, where booting is performed via a storage area network (SAN), to use a software image including the operating system without changing the setting on the RAID device side.

Other objects, features and advantages of the invention will become apparent from the following description of the embodiments of the invention taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram showing the configuration of a redundancy configuration system in a SAN booting environment described in one embodiment of the present invention.

FIG. 2 is a diagram showing the configuration of a table for managing LUN mapping information in a RAID device.

FIG. 3 is a diagram showing the overview of setting unique IDs by an information collection/setting program.

FIG. 4 is a diagram showing the configuration of a WWN management table.

FIG. 5 is a general flowchart showing the operation performed from the time a computer is taken over to the time a unique ID is set.

DESCRIPTION OF THE EMBODIMENTS

An embodiment of the present invention will be described below with reference to the drawings.

FIG. 1 is a configuration diagram showing the redundancy configuration of a computer system in the

SAN booting environment. A management server 10 is a server that has the function for managing the device information on a primary computer A 11, a primary computer B 12, a primary computer C 13, and a secondary computer 14 and the function for delivering software such as the operating system or applications. The management server 10 may also be a service processor having the functions described above. The management server 10 delivers an information collection/setting program 28 for collecting device information before the operating systems of the primary computer A 11, primary computer B 12, primary computer C 13, and secondary computer 14 are started. The secondary computer 14 is a computer that can take over the processing when one of the primary computer A 11, primary computer B 12, and primary computer C 13 stops.

The primary computer A 11, primary computer B 12, primary computer C 13, and secondary computer 14 each have one or more fibre channel ports 15, 16, 17, and 18. The fibre channel ports 15, 16, 17, and 18, each with a unique ID (World Wide Name), are connected to a RAID device 23 via a fibre channel switch 22. The operating systems to be booted are defined in the RAID device 23: OS-A 24 for the primary computer A 11, OS-B 25 for the primary computer B 12, and OS-C 26 for the primary computer C 13. A LUN mapping table 27, which associates the unique ID (World Wide Name) assigned to the fibre channel port of each computer with an operating system, is also provided to form logical connections 19, 20, and 21 between the operating systems and the computers. The logical connections 19, 20, and 21 control access; for example, the logical connections inhibit the primary computer A 11 from accessing OS-B 25.

When the primary computer C 13 stops in the redundancy configuration of the computer system described above, the management server 10 delivers an information collection/setting program 28 before starting the operating system of the secondary computer and sets the unique ID (World Wide Name=WWN=c), assigned to the fibre channel port 17 of the primary computer C 13, to the fibre channel port 18 of the secondary computer 14. This changed setting forms a logical connection 29 without updating the setting of the RAID device 23, allowing the secondary computer 14 to use the operating system OS-C 26 originally defined in the RAID device 23 for use by the primary computer C 13.

FIG. 2 is a diagram showing the structure of the LUN mapping table 27. “World Wide Name of computer” indicates the unique ID (World Wide Name) assigned to the fibre channel port of each computer, and “Accessible logical unit” indicates the logical unit defined in the RAID device. This LUN mapping table 27, which associates the computers with logical units, limits a computer from accessing the logical units associated with other computers to protect the contents of those logical units.

FIG. 3 is a configuration diagram showing how the unique IDs (World Wide Names) assigned to the fibre channel ports of the computers are read and set before the operating systems are started. The management server 10 delivers (53) the information collection/setting program 28 to the computers before the operating systems used by the users are started. A delivery path 55 used in this case may be a standard Ethernet (registered trademark) or a dedicated interface. An information collection/setting program 52, delivered to the primary computers 11, 12, and 13, reads the unique IDs (World Wide Names) assigned to the fibre channel ports and registers them in a WWN management table 51 in the management server 10. When a primary computer stops, an information collection/setting program 56 is delivered (53) also to the secondary computer 14 before the operating system used by the user of the secondary computer 14 is started. The information collection/setting program 56 obtains the unique ID (World Wide Name), assigned to the fibre channel port used by the stopped primary computer, from the WWN management table 51 and sets the obtained unique ID to the fibre channel port of the secondary computer 14.

FIG. 4 is a diagram showing the structure of the WWN management table 51. “Computer name” contains the name or ID for identifying a computer, and “State” contains a flag indicating whether the computer is in operation state or stopped state. “Original WWN” indicates the original unique ID (World Wide Name) assigned to the fibre channel port of a computer and, for a standard fibre channel board, this ID sometimes indicates the unique ID (World Wide Name) recorded on the board. “Reassigned WWN” indicates the unique ID (World Wide Name) taken over from a primary computer for reassignment to the secondary computer.

FIG. 5 is a diagram showing the general flowchart for setting a unique ID (World Wide Name) when a primary computer is taken over to a secondary computer. In this example, the network booting server program is started in the management server to deliver the information collection/setting program. After the power is turned on (501), the management server starts the network booting server program to deliver the information collection/setting program (502). Typically, this network booting server program is a PXE (Preboot eXecution Environment) boot server. The primary computer performs network booting via the management server (503) and receives the information collection/setting program delivered from the management server (504). The information collection/setting program executed on the primary computer specifies the network booting priority or SAN booting priority as well as the RAID device where SAN booting is performed, collects the unique ID (World Wide Name) assigned to the computer, and notifies this information to the management server (505). The management server generates the WWN management table from the notified information (506). After the information collection processing of the information collection/setting program is completed, the primary computer is booted and the operating system used by the user is started (507). After that, upon detecting that the primary computer fails or stops (508), the management server starts the network booting server program (509). The secondary computer performs network booting via the management server (510), and the management server delivers the information collection/setting program to the secondary computer (511). The information collection/setting program is executed on the secondary computer, and the information, such as the unique ID (World Wide Name) of the stopped primary computer, booting priority, and the RAID device where SAN booting is to be performed, is set in the secondary computer (512). The management server reflects the updated unique ID (World Wide Name) on the WWN management table (513), and the secondary computer is booted and the operating system used by the user is started to take over the processing of the primary computer (514).

It should be further understood by those skilled in the art that although the foregoing description has been made on embodiments of the invention, the invention is not limited thereto and various changes and modifications may be made without departing from the spirit of the invention and the scope of the appended claims. 

The invention claimed is:
 1. A boot control method for a computer system having a plurality of computers, a management server that controls said plurality of computers, and a storage device that is shared by said plurality of computers, each computer having a port, a program for each computer is stored in a logical unit of said storage device, the computer system is configured to boot the program for each computer by using a unique ID that is set on the port of each computer, the unique ID that is set on the port of each computer is associated with the program stored in the logical unit, said boot control method comprising the steps of: managing, by said management server, unique IDs assigned to ports of the computers, and delivering a first unique ID assigned to a port of a failed computer to a secondary computer among said plurality of computers; setting, by said secondary computer, the delivered first unique ID on the port of the secondary computer, and notifying the management server of the first unique ID set on the port of the secondary computer; managing, by the management server, managing the notified first unique ID as a unique ID assigned to the port of the secondary computer; accessing, by said secondary computer, a logical unit associated with the failed computer using a logical connection newly created between the secondary computer and the storage device based on the setting of the first unique ID, and booting the program for the failed computer.
 2. The boot control method for the computer system according to claim 1, wherein the management server is a service processor.
 3. The boot control method for the computer system according to claim 1, wherein the storage device has a plurality of logical units storing programs for respective computers and access information associating unique IDs set on ports of the respective computers with the programs stored in the logical units.
 4. The boot control method for the computer system according to claim 1, wherein the program stored in the logical unit comprises an Operating System (OS) for the computer.
 5. The boot control method for the computer system according to claim 1, wherein the port is a fibre channel port, and the unique ID is a World Wide Name.
 6. A computer system comprising a plurality of computers, a management server that controls said plurality of computers, a storage device that stores a program for each computer, and a switch that connects between the storage device and each computer, each computer having a port, the computer system is configured to cause the storage device to boot the program for each computer by using a unique ID that is set on the port of each computer, the unique ID that is set on the port of each computer is associated with the program stored in the storage device, wherein: said management server manages unique IDs assigned to ports of the computers, delivers a first unique ID assigned to a port of a failed computer to a secondary computer among said plurality of computers as a unique ID set on the port of said secondary computer, and manages the first unique ID set on the port of said secondary computer as an unique ID assigned to the port of said secondary computer; said secondary computer accesses a logical unit associated with the failed computer using a logical connection newly created between said secondary computer and the storage device based on the setting of the delivered first unique ID on the port of said secondary computer and boots the program for the failed computer.
 7. The computer system according to claim 6, wherein the management server is a service processor.
 8. The computer system according to claim 6, wherein the storage device has a plurality of logical units storing programs for respective computers and access information associating unique IDs set on ports of the respective computers with the programs stored in the logical units.
 9. The computer system according to claim 6, wherein the program stored in the logical unit comprises an Operating System (OS) for the computer.
 10. The computer system according to claim 6, wherein the port is a fibre channel port, and the unique ID is a World Wide Name. 